package com.yicong.ants.bean;

/**
 * 构建订单数据Bean
 */
public class BuildOrderBean {

    /**
     * code : 2000
     * msg : 下单成功
     * time : 1541818245
     * data : {"user_id":"12","mobile":"112321","price":"3213","order_num":1,"ordersn":"2018111010504512390","packageid":"312","username":"321","order_type":1,"address":"312","addtime":"2018-11-10 10:50:45","id":"9"}
     */

    private String code;
    private String msg;
    private String time;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * user_id : 12
         * mobile : 112321
         * price : 3213
         * order_num : 1
         * ordersn : 2018111010504512390
         * packageid : 312
         * username : 321
         * order_type : 1
         * address : 312
         * addtime : 2018-11-10 10:50:45
         * id : 9
         */

        private String user_id;
        private String mobile;
        private String price;
        private int order_num;
        private String ordersn;
        private String packageid;
        private String username;
        private int order_type;
        private String address;
        private String addtime;
        private String id;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getOrder_num() {
            return order_num;
        }

        public void setOrder_num(int order_num) {
            this.order_num = order_num;
        }

        public String getOrdersn() {
            return ordersn;
        }

        public void setOrdersn(String ordersn) {
            this.ordersn = ordersn;
        }

        public String getPackageid() {
            return packageid;
        }

        public void setPackageid(String packageid) {
            this.packageid = packageid;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getOrder_type() {
            return order_type;
        }

        public void setOrder_type(int order_type) {
            this.order_type = order_type;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
